import React, { useState, useEffect } from 'react'
import { Outlet, useLocation } from 'react-router-dom';
import Search from '../../components/Search';
export default function Home() {
    const loc = useLocation()
    useEffect(() => {
        console.log(loc);
    }, [loc])
    return (
        <div>
            <Search />
            <Outlet />
        </div>
    )
}
